<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="navbar-inverse navbar-fixed-top">
    <div class="container">
        <a class="navbar-brand " href="#">Petro-Oil</a>
        <form class="navbar-form navbar-right">
            <div class="form-group">
               
                    <div class="form-group">
                <div class="btn-group">
                    <a class="btn btn-default" href="cart.htm?step=1"><span class="glyphicon glyphicon-shopping-cart"></span> Koszyk <span class="badgeEx ">${commandBean.orderCounter}</span></a>
                    
                </div>
            </div>
                
                <div class="btn-group">
                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                        <i class="glyphicon glyphicon-list"></i> Panel Administracyjny <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="add.htm">Dodaj Produkt</a></li>
                        <li><a href="edit.htm?page=1">Edytuj Produkt</a></li>
                        <li><a href="delete.htm?page=1">Usuń Produkt </a></li>
                       
                    </ul>
                </div>   
            </div>
            <span> </span>
            <div class="form-group">
                <div class="btn-group">
                    <button type="button" class="btn btn btn-primary dropdown-toggle" data-toggle="dropdown">
                        <i class="glyphicon glyphicon-user"></i> ${commandBean.user} <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="account.htm">Konto</a></li>
                        <li><a href="editAccount.htm">Edytuj</a></li>
                    </ul>
                </div>   
            </div>
            <span> </span>

            <div class="form-group">
                <div class="btn-group">
                    <a class="btn btn-success" href="<c:url value="j_spring_security_logout" />" >Wyloguj</a>

                </div>
            </div>
        </form>
    </div> 
</div>
